package com.fly.easy.queue.common;

public class MessageEntity {


	/**
	 * 处理任务类
	 */
	private String handle;
	
	/**
	 * 传输数据
	 */
	private Object data;

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	public String getHandle() {
		return handle;
	}

	public void setHandle(String handle) {
		this.handle = handle;
	}

	public MessageEntity(String handle, Object data) {
		super();
		this.handle = handle;
		this.data = data;
	}
	public MessageEntity() {
	}

}
